#pragma once
#include "cocos2d.h"

using namespace cocos2d;

class MyAudioEngine :public CCNode
{
public:
	MyAudioEngine();
	~MyAudioEngine();
	virtual bool init();
	static void preloadEffect();
	static void playDieEffect();
	static void playWinEffect();
	static void playPointEffect();
	static void playTouchEffect();
	static void playHitEffect();
	static void setAudioEnable(bool enable);
	static void resumeAllEffect();
	static void stopAllEffect();
	CREATE_FUNC(MyAudioEngine);
public:
	static bool m_enable;
};

